package com.travelparadise.domain;

import java.util.Date;
import java.util.List;
import java.util.Set;

import com.travelparadise.service.CommandeService;
import com.travelparadise.service.ReservationService;

public class Reservation {
	private int id;
	private int nbPersonne;
	private Date dateDepart;
	private Date dateRetour;
	private double prix;
	private Set<Personne> voyageurs;
	private Set<Vol> vols;
	private Set<Hotel> hotels;
	private Set<Activite> activites;
	private Commande commande;
	
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer("Reservation : ");
		sb.append("id : "+id+", ");
		sb.append("dateDepart : "+dateDepart);
		sb.append("dateRetour : "+dateRetour);
		sb.append("prix : "+prix);
		sb.append("");
		
		return sb.toString();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getNbPersonne() {
		return nbPersonne;
	}

	public void setNbPersonne(int nbPersonne) {
		this.nbPersonne = nbPersonne;
	}

	public Date getDateDepart() {
		return dateDepart;
	}

	public void setDateDepart(Date dateDepart) {
		this.dateDepart = dateDepart;
	}

	public Date getDateRetour() {
		return dateRetour;
	}

	public void setDateRetour(Date dateRetour) {
		this.dateRetour = dateRetour;
	}

	public double getPrix() {
		return prix;
	}

	public void setPrix(double prix) {
		this.prix = prix;
	}

	public Set<Personne> getVoyageurs() {
		return voyageurs;
	}

	public void setVoyageurs(Set<Personne> voyageurs) {
		this.voyageurs = voyageurs;
	}

	public Set<Vol> getVols() {
		return vols;
	}

	public void setVols(Set<Vol> vols) {
		this.vols = vols;
	}

	public Set<Hotel> getHotels() {
		return hotels;
	}

	public void setHotels(Set<Hotel> hotels) {
		this.hotels = hotels;
	}

	public Set<Activite> getActivites() {
		return activites;
	}

	public void setActivites(Set<Activite> activites) {
		this.activites = activites;
	}

	public Commande getCommande() {
		return commande;
	}

	public void setCommande(Commande commande) {
		this.commande = commande;
	}

}
